package com.zhixue.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.message.model.po.MqMessage;
import com.zhixue.order.model.dto.*;
import com.zhixue.order.model.po.*;

/**
 * @Auther: 李 力
 * @Date: 2025/5/15
 * @Description: com.zhixue.order.service
 * @version: 1.0
 */
public interface XcOrdersService extends IService<XcOrders> {

    //生成二维码
    public PayRecordDto createOrder(String userId, AddOrderDto addOrderDto);

    XcPayRecord getPayRecordByPayno(String payNo);

    public PayRecordDto queryPayResult(String payNo);

    public void saveAliPayStatus(PayStatusDto payStatusDto);

    public void notifyPayResult(MqMessage message);
}
